package com.fly.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableDiscoveryClient
@EnableEurekaClient

//Zuul注解并把自己注册到服务注册中心
@EnableZuulProxy
public class MSkillZuulApplication {

	public static void main(String[] args) {
		SpringApplication.run(MSkillZuulApplication.class, args);
	}

}
